.logindiv{
    width: 400px;
    height: 200px;
    margin: auto;
    margin-top: calc(50vh - 200px);
}